package com.next

class UrlMappings
{

    static mappings = {
        "/$controller/$action?/$id?(.$format)?" {
            constraints {
                // apply constraints here
            }
        }

        "/"(view: "/index")
        "500"(view: '/error')
        "404"(view: '/notFound')
        "/dashboard"(view: '/dashboard')
        "/salesDashboard"(view: '/salesDashboard')
    }
}
